package com.tally.server.enums;

/**
 * @Author: sy
 * @Date: 2021/4/11 23:21
 * @Description:
 */
public enum PostStatusEnum {
    INSERT(0, "创建"),
    UPDATE(1, "修改"),
    ;
    private final Integer code;
    private final String desc;

    PostStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
